package top.milkbox.info.BaiduTranslationInfo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 百度翻译有关的配置信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "info.baidu-translation")
public class BaiduTranslationInfo {
    // 百度开发者id
    private String appid;
    // 密匙
    private String secret;
    // 请求的链接地址
    private String url;
}
